from django.db import models


# Create your models here.
class User(models.Model):
    user = models.CharField(max_length=20, verbose_name='账户')
    phone = models.CharField(max_length=20, verbose_name='手机号')
    password = models.CharField(max_length=20, verbose_name='密码')

    class Meta:
        db_table = 'user'

    def __str__(self):
        return self.user
